# Filters added to this controller apply to all controllers in the application.
# Likewise, all the methods added will be available for all controllers.

class ApplicationController < ActionController::Base
  include AuthenticatedSystem

  helper :all # include all helpers, all the time

  # See ActionController::RequestForgeryProtection for details
  # Uncomment the :secret if you're not using the cookie session store
  protect_from_forgery # :secret => '1c02fbbc80a31036f067e2c7282910b4'
  
  #before_filter :has_permission?;
  before_filter :body_id;
  
  def body_id
    @body_id = :home;
  end
end
